package com.atguigu.springcloud.alibaba.Myhandler;

import com.alibaba.csp.sentinel.slots.block.BlockException;
import com.atguigu.springcloud.entities.CommonResult;

/**
 * @author lilulu
 * @date 2022/6/20 22:00
 */
public class CustomerBlockHandler {

    public static CommonResult handleException2022(BlockException exception){
        return new CommonResult(2022,"自定义的限流处理信息......CustomerBlockHandler2022");
    }



    public static CommonResult handleException2023(BlockException exception){
        return new CommonResult(2023,"自定义的限流处理信息......CustomerBlockHandler2023");
    }
}
